﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QuanserClient;
using TankController.Dominio;

namespace TankController
{
    static class Global
    {
        internal const int QTD_PORTAS = 8;

        internal static readonly Object MonitorSinais = new Object();
        internal static readonly Object MonitorStatus = new Object();
        internal static readonly Object MonitorCascata = new Object();
        internal static TipoConfiguracao? TipoConfiguracao;
        //internal static IQuanserClient Servidor;
        internal static IPlanta Planta;
        internal static IEntrada Entrada;
        internal static IControlador Controlador1;
        internal static IControlador Controlador2;
        internal static DateTime TempoInicio;
        internal static Boolean ConfiguraKi1 = true;
        internal static Boolean ConfiguraKd1 = true;
        internal static Boolean ConfiguraKi2 = true;
        internal static Boolean ConfiguraKd2 = true;
        internal static Boolean ConfiguraK = true;
        internal static Status Status = Status.Stop;
    }
}
